home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 002 / keychng.ws < prev    next >
Text File  |  1979-12-31  |  4KB  |  73 lines

  1.              CHANGING YOUR WORDSTAR BACKSPACE AND DELETE KEYS
  2.                               by Read Gilgen
  3.  
  4.   Those of you who rushed out to buy WordStar because it was the only thing 
  5. or (you were told) the best thing on the market, soon discovered that the 
  6. converted CP/M package left a lot to be desired.  In particular, the 
  7. assignment of special keys appeared to be made by someone who had begun the 
  8. happy hour at 8 A.M.
  9.  
  10.   I could never figure out why the backspace key (upper row) was a non-
  11. destructive backspace when that function already existed on the left cursor 
  12. key.  Then, why was the delete key functionally equivalent to the normal PC 
  13. use of the backspace key (destructive left) rather than like the normal PC 
  14. delete function which corresponds to WordStar's Ctrl-G.
  15.  
  16.   Bernie Cohen and I began fiddling with the bytes in the WS.COM program, 
  17. following patches suggested in PC-WORLD and guessing on our own, until we 
  18. had the delete key assigned to the Ctrl-G function.  But it wasn't until 
  19. Dean Bridge gave us the locations for all three keys that we were able to 
  20. make WordStar keys work like regular PC keys.
  21.  
  22.   For your edification (and perhaps use), I have reproduced below the DEBUG 
  23. procedure for making these lovely key changes that result in a destructive 
  24. backspace key, a normal non-destructive left cursor key, and a normally 
  25. deleting delete key.  One caution:  make a backup copy of your WS.COM file 
  26. before making any changes.  Also, I can't guarantee that this procedure 
  27. will work with your version of WordStar (mine was 3.24), although it pro-
  28. bably will.
  29.  
  30. 1.  First, place you DOS disk in drive A: and your WS.COM file in drive B:
  31.  
  32. 2.  Follow these procedures:
  33.  
  34.            <<You see:                            You type:>>
  35.  
  36.         A>                                 debug b:ws.com <CR>
  37.         -                                  E 6E6 <CR>
  38.         090B:06E6  08.                     7F <CR>
  39.         -                                  E 71C <CR>
  40.         090B:071C  7F.                     07 <CR>
  41.  
  42. 3.  The next steps are a bit tricky, because you are switching byte infor-
  43. mation at two locations.  You first display the values at one location, 
  44. then edit the other location, and finally edit the first location using the 
  45. values displayed upon editing the second location.
  46.  
  47.           <<You see:                             You type:>>
  48.  
  49.         -                                  D 49B  <CR>
  50.         090B:049B  E1 7C 04 00 D5
  51.           (Plus much more.  You want the
  52.            first two bytes: E1 and 7C)
  53.         -                                  E 52B <CR>
  54.         090B:052B  82.                     E1 <CR>   (The first byte, above)
  55.         -                                  E 52C <CR>
  56.         090B:052C  82.                     7C <CR>   (The second byte, above)
  57.  
  58.           <<You see:                             You type:>>
  59.  
  60.         -                                  E 49B <CR>
  61.         090B:049B  E1.                     82  <CR>  (The byte shown at 052B)
  62.         -                                  E 49C <CR>
  63.         090B:049C  7C.                     82  <CR>  (The byte shown at 052C)
  64.         -                                  W <CR>
  65.         Writing 5180 bytes
  66.         -                                  Q <CR>
  67.         A>
  68.  
  69. 4.  The process is now complete.  Boot WordStar and try it out.  If you 
  70. have followed the procedures correctly, and used the bytes that appear on 
  71. your disk (not necessarily the same as those above), then it all ought to 
  72. work correctly.
  73.